#ifndef point_h
#define point_h

#include <iostream>
#include <windows.h>
using namespace std;

class point
{
	friend ostream& operator<<(ostream &output,point p);

private:

		int m_x;
		int m_y;

public:

		point(int x=0, int y=0);
		int GetX(){return m_x;}
		int GetY(){return m_y;}
		void SetX(int x){m_x = x;}
		void SetY(int y){m_y = y;}

		bool operator==(const point &right) const;
		const point& operator =(const point &right);
};

#endif
